import request from '@/utils/Request.js'

/**
 * 登录的restful
 * @param data
 * @returns {*}
 */
export const loginApi = (data) => {
    return request.post('/login', data)
}